package com.bean;

public class PurchaseOrderMaterial {
    private Integer purchaseOrderMaterialId;

    private Integer purchaseOrderId;

    private Integer materialId;

    private String materialQuantity;

    private Double totalPrice;
    
    private PurchaseOrder purchaseOrder;
    
    private Material material;
    
    
    
    
    

    @Override
	public String toString() {
		return "PurchaseOrderMaterial [purchaseOrderMaterialId="
				+ purchaseOrderMaterialId + ", purchaseOrderId="
				+ purchaseOrderId + ", materialId=" + materialId
				+ ", materialQuantity=" + materialQuantity + ", totalPrice="
				+ totalPrice + ", purchaseOrder=" + purchaseOrder
				+ ", material=" + material + "]";
	}

	public PurchaseOrder getPurchaseOrder() {
		return purchaseOrder;
	}

	public void setPurchaseOrder(PurchaseOrder purchaseOrder) {
		this.purchaseOrder = purchaseOrder;
	}

	public Material getMaterial() {
		return material;
	}

	public void setMaterial(Material material) {
		this.material = material;
	}

	public Integer getPurchaseOrderMaterialId() {
        return purchaseOrderMaterialId;
    }

    public void setPurchaseOrderMaterialId(Integer purchaseOrderMaterialId) {
        this.purchaseOrderMaterialId = purchaseOrderMaterialId;
    }

    public Integer getPurchaseOrderId() {
        return purchaseOrderId;
    }

    public void setPurchaseOrderId(Integer purchaseOrderId) {
        this.purchaseOrderId = purchaseOrderId;
    }

    public Integer getMaterialId() {
        return materialId;
    }

    public void setMaterialId(Integer materialId) {
        this.materialId = materialId;
    }

    public String getMaterialQuantity() {
        return materialQuantity;
    }

    public void setMaterialQuantity(String materialQuantity) {
        this.materialQuantity = materialQuantity;
    }

    public Double getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Double totalPrice) {
        this.totalPrice = totalPrice;
    }
}